package com.gtt.pattern.structural.adapter;

/**
 * 对象适配器<br/>
 * 内部关联被适配对象, 委托完成功能
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-3-1 14:54:58
 * 
 */
public class MobilePowerObjectAdapter implements ITarget {

    private Power power;

    public MobilePowerObjectAdapter() {
        super();
        this.power = new Power();
    }

    @Override
    public int getPower10V() {
        return power.getPower220V() / 22;
    }

}
